From 2e885fa3057827879b3967f788786d8a5b4db67d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 9 Jul 2014 15:04:59 -0700 Subject: [PATCH] Disable passing -g for now --- src/cargo/ops/cargo_rustc.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cargo/ops/cargo_rustc.rs b/src/cargo/ops/cargo_rustc.rs index 14cf3d963..4b52dd951 100644 --- a/src/cargo/ops/cargo_rustc.rs +++ b/src/cargo/ops/cargo_rustc.rs @@ -271,9 +271,10 @@ fn build_base_args(into: &mut Args, into.push(profile.get_opt_level().to_str()); } - if profile.get_debug() { - into.push("-g".to_str()); - } + // Right now -g is a little buggy, so we're not passing -g just yet + // if profile.get_debug() { + // into.push("-g".to_str()); + // } if profile.is_test() { into.push("--test".to_str()); -- 2.30.2